package com.example.myshopping3.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

/**
 * @author 路老师
 * @date 2025/7/22
 * 无精神，不编程！无乐趣，不编程！
 * “调试：与bug共舞的艺术。”
 */
@Data
@TableName("tbl_order_desc")
public class OrderDesc implements Serializable {
    @TableId(value = "desc_id", type = IdType.ASSIGN_ID)
    private Long descId; //描述主键ID
    private String orderId; //订单主键 外键
    private String bookId; // 产品主键 外键
    private Integer count; //数量

    @TableField(fill = FieldFill.INSERT)
    private Date insertTime; //插入填充

    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime; //更新填充

    private Integer isDeleted;

}
